fix rule path error