This is a message modification module for rsyslog that allows you to change
the facility (and, optionally, severity) of messages. Basic usage is:

Of course, normally the action above will be invoked in a conditional context.
E.g.: