Add AJAX methods to retrieve and update rules.
Add AJAX methods to retrieve and update rules.

JulianNicholls/Understanding-AngularJS,JulianNicholls/Understanding-AngularJS,JulianNicholls/Understanding-AngularJS