Section 36(8)(ii) in The Railways (Opening for Public Carriage of Passengers) Rules, 2000
(ii)When a trap is provided, the trap switch should be located with the heel of the switch in rear of the fouling mark and preferably on the straight. The switch should be in the rail away from the line to be protected.