Small Refactoring in Rule.