Section 13. Whoever violates any provision of section two or any rule or regulation made thereunder by the commissioner shall be punished by a fine of not more than five hundred dollars or by imprisonment for not more than six months, or both. Each day a violation continues shall be deemed a separate offense.