Very interesting. The yellow gadget that was clamped onto the rail after the welding procedure, I presume it helped trim the excess weld material which was hammered off before final grinding.
In contrast to the expedient modern methods, I remember seeing video with Chinese railway workers cutting a rail with a hand saw, possibly as recently as the 1980's.