Started implementing the REST API, a new routing group, controllers and namespace has been configured. Moved validation into the Rule model and a few other changes, still alot more work to be done to the API but is a start.