Added new Rules interface, rulesAdapter class and renamned old Rules to ...

...ModelRules