Moved rules into their own file.
Merge pull request #14 from dreisch/separated_ruled

Moved rules into their own file.