Rule ordering