The transport secretary says he is preparing to overhaul rules, as rail workers prepare to walk out.