Create rules.txt