Ability to use variables in replacement strings for rewrite middleware.

I will benchmark it.

I looked into template but it looks like to use it we have to have a predefined set of replacement variables which we don't have.... unless we build it somehow when the middleware is created. I will look into it more.