Implementation of rule set and wrapper delegates
Hacked together rule implementation, and testing with the wear command.