Add a filter to allow modification of rewrite rules source

Using a filter on the source for the rewrite rule allows us to specify something more descriptive then 'other' in certain cases, leading to better troubleshooting.