REP-1272 HERP Filter

I don't know if this is done or if it's even ready for a PR to be opened, but I want to get more eyes on it.

Also, I'll almost certainly be handing the remaining work off.