Add more tests for Rule