Set owner/group/mode for rules file