Addition of generic filter and output defines.

The current functionality of the module doesn't allow for conditionals in filters and outputs.

The addition of these generic defines allow you to do this by writing the entire config manually.