async findByCoreId(name: string): Promise<Rule | undefined> {
    return [...this.rules.values()].find((rule) => rule.name === name);
  }