laws governing railway networks