State lawmakers are rushing to introduce legislation expanding the definition of sexual assault after the Second District Court of Appeal ruled Wednesday that a man who impersonated a woman’s boyfriend to have sex with her did not commit rape.

Assemblyman Katcho Achadjian, R-San Luis Obispo, said on Friday that he will pursue a bill that would allow prosecutors to charge with rape suspects who pose as boyfriends or girlfriends to obtain sex. California’s current rape law covers impersonators, but only those who act as spouses.