Any party to the proceeding affected by an order of the commissioner shall be entitled to a rehearing and appeal in accordance with the provisions of RSA 541.