Creating a dynamic selection

Following up on my own post here…
I started going down the path of creating a map transformation from numbers to strings. However, it appears there is no way to reference a MAP transformation from a selection mapping. And according to this post Change selection mappings via a rule it is also not possible to dynamically change mappings via a rule.

Any suggestions on how to create a dynamic selection of objects in OpenHab?