remove slash in rule