Integration test for inheritance of rules