AI-enabled legislative reforms