Add rewrite_url.

See _docs/urls.rst_ for details.