Section 30. Violation of any lawful rule, order or regulation of the board or of any lawful order of the marshal or lawful rule or order of the head of a fire department, punishment whereof is not otherwise provided for, shall be punished by a fine of not more than fifty dollars for each day during which such violation continues after actual notice of the regulation, rule or order. Such notice may be given by personal service or by posting the same in a conspicuous place on the premises affected thereby. The superior court shall have jurisdiction in equity to enforce any lawful rule, order or regulation of the board, or any lawful order of the marshal or rule or order of the head of a fire department, upon application respectively of the marshal or the head of the fire department.