Refactoring. ChemicalRuleType.Ast -> ChemicalRuleType.Root.