Automated Rules to Boost Compliance and Efficiency