static L agiBlue_matchAllRulesOnInput(S input) { new L out; for (AGIBlue_Rule rule : agiBlue_ruleObjects()) { SS map = gazelle_zip(rule.lhs, input), continue if null; out.add(AGIBlue_MatchedRule(rule, mapKeysAndValues tok_deRoundOrCurlyBracket(map))); } sortInPlaceByCalculatedField(out, mr -> l(mr.map)); ret out; }