Create rules.csv