List<Rule?> getRulesById(List<String> rulesId) { return rulesId.map((id) => registeredRulesMap[id]).toList(); }