The commissioner of safety shall have the authority to adopt rules, pursuant to RSA 541-A, to carry out the provisions of this chapter. Railroad police officers shall be subject to such rules.