rewrite rule to hide .py