I think you will find some marking on the rail depicting the master/reference edge, once you have that set to your straight edge it would probably be better to use your gantry to align the second rail.
Mike