Support for displaying and filtering by the source of a given rewrite rule

Mostly copied from Rewrite Rules Inspector.