being explicit about ordering on category and rule