Add a .filter method for Rules, refactor
Clean data
Refactor Rules.filter
Use rake to run specs
Add travic-ci configuration