When adding a network rule, there are specific feature classes against which rules can be created depending on the rule type. For the specified Rule Type, the utility network does not contain the necessary feature class. For example, a junction-junction connectivity association rule can only be created between the device and junction point feature classes.
Review the help for the specific Rule Type and ensure that the feature class exists in the specified utility network. See Network rules for more information.