fix path_rule