static SS gazelle_varMapFromMatchedRuleStruct(S s) { ret (SS) getOpt map(safeUnstruct(s)); }