Such agreement shall provide that amounts provided under the agreement may be used for purchasing equipment and for rehabilitating and constructing stations, parking facilities, and other facilities necessary for the restoration of such commuter rail service.