Physical location in Foreman

I'm trying to use Foreman also to document the physical location of
servers. How do I add this meta-data?
What I've initially done is to create a host-group per each rack. Within
that host-group I've added relevant hosts in their own group (nested to the
rack). So I have something like:
host-group: rack15
nested within it: host-group: setup1: {host 1, host 2}, host-group: setup2:
{host 3, host 4}, etc.

But I'm not sure how can I search for all those hosts that are under
rack15. Perhaps there's some metadata I need/can add instead/in addition?

TIA,
Y.