Add license and docu to ``rewrite`` and ``redirect``