allow to rewrite directives