Minor Optimizations

* Resolved a spelling error in the readme
* Removed trailing whitespace
* Converted all code indenting to a tab character so it's uniform
* Optimized a few methods like `filter_rules`