Create rule.txt