i see.. so the only way to solve it is by creating a new group like "stage_or_production" and then filter by "app:&stage_or_production"?
my suggestion for implementing logical groups:
hosts:
- app:&stage
- app:&production
meaning (app AND stage) OR (app AND production)