Update RulesFile