Added  RuleType

needed this for the type
Merge pull request #2 from nvingoe/SQL2014

cool change. like that ruletype!