Rewrite rule to transform part of the path to a query string key/value pair