modify rule.txt