NCM gives priority to the rules with the lowest rule order first. To change the order of rules, please go to Config Automation > Credentials > Credential Rules and drag and drop the rows to change the order. Once the order is changed a save button will be shown on top of the grid to save the changes. Once the changes are saved, the rule order will be changed starting from number 1.