API Reference > presentation-backend > Core > RulesetEmbedder RulesetEmbedder Class Beta An API for embedding presentation rulesets into iModels. Methods Name Description constructor(iModelDb: IModelDb): RulesetEmbedder Constructs RulesetEmbedder getRulesets(): Promise<Ruleset[]> Get all rulesets embedded in the iModel. insertRuleset(ruleset: Ruleset, duplicateHandlingStrategy: DuplicateRulesetHandlingStrategy = DuplicateRulesetHandlingStrategy.Skip): Promise<Id64String> Inserts a ruleset into iModel. Defined in presentation/backend/src/RulesetEmbedder.ts Line 31 Last Updated: 13 June, 2024