Both rules, categorries and tags, now derive from the rule base type. This clears up some type definitions.