Match tags on queries/transactions to tags on replication groups. Document it well as an example of how to create a River DB plugin. Requires the query normalization algorithm to parse the tags.