Moved the rules out of the lib folder and into the services folder
(which is a much better place for them) and also fixed an issue where
one of my unit tests (rules_spec) was fucking up other tests. Now the
entire suite, run all at once, passes.