Added local rewrite fules