static MultiMap ai_gazelle_indexStatementsByRule(LS statements) { new MultiMap mm; for (Matches m : getMatchesX_all("Rule *: ...", statements)) mm.put($1, m.rest()); ret mm; }