# RuleResult Class

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

## Definition

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

## Description

Represents the result of applying a rule over a field's value.

## Members

#### Properties

* `Rule`: Gets or sets the applied `Rule`.
* `IsValid`: Gets or sets a boolean value indicating whether the result of applying the `Rule` is valid.

#### Constructors

* `RuleResult()`: Initializes a new instance of the `RuleResult` class.
* `RuleResult(Rule,Boolean)`: Initializes a new instance of the `RuleResult` class, and requires the following parameters:
  + `rule Rule`: The applied rule.
  + `isValid bool`: A boolean value indicating whether the applied rule is valid or not.
