ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
final List<String>? resourceNames;