Two Connecticut attorneys are suing the state’s chief disciplinary counsel in federal court over an anti-discrimination rule that took effect on Jan. 1.

Rule 8.4(7) of the Connecticut Rules of Professional Conduct bars attorneys from “engaging in harassment or discrimination related to their practice of law.”