Possible fix for non-removed rules

...issues/1

This is my work around for the issue. I noticed that some of the unit tests don't pass now, but it is working for my specific application. Hopefully you will see what is causing the unit tests to fail.

Thanks,

Justin