Rangers defender Chris Hegarty has accepted a two-game ban for stamping on an opponent at Montrose last weekend.