All officers of Government, municipal officers, and officers and servants of railway companies shall comply with such rules so far as they concern them, and pay such fees as the said rules shall prescribe. ...