Use UT hash instead of list as a set of rules.

This enables continuous merging of rules with the same subject and object id.
Not fully teset yet