Added  RuleType

needed this for the type