fix the rules in the yml config file