Section 31B. Boards of health shall, from time to time, make rules and regulations for the control of the removal, transportation or disposal of garbage, offal or other offensive substances. Whoever violates any provision of section thirty-one A, or of any rule or regulation made thereunder, shall be punished by a fine of not more than one thousand dollars.