Description
When you run the Add Attribute Rule tool, the script expression for the rule is evaluated. The expression is evaluated against the first row in the Input table, or a placeholder row is used in the evaluation process. An error is returned and the attribute rule is not created if the evaluation of the script expression results in NaN.
Solution
View the script expression and adjust it before creating the attribute rule.
Review the Arcade Function Index.