California's attorney general filed a lawsuit Friday against the Trump administration's new rules that would exempt employers from providing insurance coverage for contraception if it conflicts with their religious or moral beliefs, curtailing a rule created under the Obama administration.

"Donald Trump wants businesses and corporations to control family planning decisions rather than a woman in consultation with her doctor. These anti-women's health regulations prove once again that the Trump Administration is willing to trample on people's rights," said Attorney General Xavier Becerra in a statement Friday.

"What group of Americans will they target next?" he added. "Will they allow businesses to deny you cancer treatment? Will they exclude you from insurance coverage because of a pre-existing health condition? The California Department of Justice will fight to protect every woman's right to healthcare, including reproductive healthcare. We'll see the Trump Administration in court."

Interim rules released Friday would cut back the contraception requirement in Obamacare. The rules, if finalized, would exempt employers from providing insurance coverage that includes contraception coverage to employees if it goes against the employer's religious or moral views.

The Trump administration's rollback extends beyond exemptions for churches and religious nonprofits, but does not impact publicly traded companies.

Employers who decide not to provide coverage must tell employees about the change, but are not required to inform the federal government.

The American Civil Liberties Union and Massachusetts Attorney General Maura Healey said they also will sue the Trump administration for scaling back the mandate.