This adds tests on top of GH-46.
I also have fixed some whitespace issues I've noticed.
(#10619) Add the table when deleting rules
This fixes purging from tables other then 'filter'.
(#10619) Fix tests since we are now prefixing -t <table> during delete
Fix extraneous trailing whitespace