Section 12. The commissioner or an aggrieved party may enforce the provisions of this chapter, or restrain any violations thereof, by filing a civil action in a court of competent jurisdiction. A violation of this chapter or a rule or regulation adopted hereunder, shall constitute a violation of chapter ninety-three A.