Add test for rules with keyword
Combine rules tests