Updated tests for rules