Oracle Message ORA-24172 - rule set string.string has errors

ERRORrule set string.string has errors
CAUSEThe rule references variables not in the evaluation context.
ACTIONModify the rule condition to remove illegal reference.