This technique of the "item families" is just an example of how you can implement modeMayBeAllowed in your Metadata Adapter.
Perhaps, its generic resort to configurable regular expressions is not...