We could, but then what would unpack_simple_rsc_order() do if a tag was found, it wouldn't be a simple ordering constraint anymore.

The users of EXPAND_CONSTRAINT_IDREF might be good candidates to fold into valid_resource_or_tag() though.