[BZ-1078839] eveluate more specific cases first when expanding a DSL