(6)Where tracks are carried on a gantry or other elevation, a safe footway or footways with hand rails and the boards shall be provided at all positions where persons work or pass on foot; and where there is an opening in the stage of an elevated track for the dropping of material to a lower level, the position shall be adequately fenced or the opening itself provided with a grill through which a person cannot fail.