Refactoring Rule inheritance