Extract RuleController from Controller

This takes parsing out of the model controller and puts it in its own
controller.