railway act