Dominic: when clause for matcher builder