002582: The rule type does not match the type of rule specified.

Description

When deleting an attribute rule using the Delete Attribute Rule tool, the rule type specified must match the type of rule provided for the rule names parameter.

Solution

Ensure that the specified rule names match the type of rule specified in the rule type parameter. For example, if you specify to delete rules that are of calculation type, but the rule names provided are the constraint rule type, deleting the rule will fail.

To delete multiple types of rules, do not specify a value for the rule type parameter.