# RuleSet Class

> * Namespace: `UiPath.DocumentProcessing.Contracts.Taxonomy`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Taxonomy`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

Represents a set of taxonomy rules with an associated criticality level.

## Members

#### Properties

* `Criticality`: Gets or sets the `Criticality` level associated with the ruleset. `Criticality` can have the following values:
  + `1`: Equals **Must**.
  + `2`: Equals **Should**.
* `Rules`: Gets or sets an array of [Rule](https://docs.uipath.com/activities/other/latest/document-understanding/rule-class) objects representing the set of taxonomy rules.
