latest changes--switching the offs variables to an object and making the rule set modifiable...not finished