To add an attribute rule to a dataset, it must have a Global ID field. Read about attribute rules for more information.
Add a Global ID field to the dataset before adding an attribute rule. In the Catalog pane, right-click the context menu, click Manage, and click Add Global IDs. Alternatively, use the Add Global IDs tool.