Message Oracle ORA-41687 - attribute string not allowed in the groupby specification

ERRORattribute string not allowed in the groupby specification
CAUSEThe attributes listed in the groupby specification in a rule condition were not a subset of the attributes specified in the rule class properties.
ACTIONCorrect the groupby specification for the rule condition and try again.