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.
according to the xsd this isn't a valid config.