API Reference > presentation-common > Core > RulesetsFactory > createSimilarInstancesRuleset createSimilarInstancesRuleset Method Create a ruleset with content rules for getting instances are of the same ECClass and have the same property value as the provided record. createSimilarInstancesRuleset(field: Field, record: Item, computeDisplayValue?: ComputeDisplayValueCallback): Promise<{ description: string, ruleset: Ruleset }> Parameter Type Description field Field A field identifying which property of the record we should use record Item A record whose similar instances should be found computeDisplayValue ComputeDisplayValueCallback Optional callback function to calculate display value that'sused in ruleset's description. If not provided, display value from record is used instead. Returns - Promise<{ description: string, ruleset: Ruleset }> Defined in presentation/common/src/presentation-common/RulesetsFactory.ts Line 70 Last Updated: 12 June, 2024