svoid gazelle_parseInstruction(RuleEngine2.SimplifyWithRule r) { new Matches m; S s = r.text; if "simplify with *" ret with r._function = $1; else if "simplify with * on tree" { r.callOnTree = true; ret with r._function = $1; } else if "drop after word *" { fS word = $1; ret with r._function = func(S s) { tok_dropStartingWithWord(word, s) }; } else if "group words *" { fS words = $1; ret with r._function = func(S s) { tok_groupPhrase(s, words) }; } else if "split with *" { r.isSplitRule = true; ret with r._function = $1; } }