Moved RulesEngine to Models namespace

- Prevents circular references