Handle all rules