> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rule Object (IRule Interface)

This object corresponds to a rule. Rules are certain conditions imposed on data in fields. If the values in documents do not meet these conditions, [rule errors](https://docs.abbyy.com/flexi-capture/sdk/api-reference/ruleerror.md) appear. The main purpose of rule application is to check the integrity of document data.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **Name** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Returns the rule name. |

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/Rule.gif?s=296b219e6c408502d1a944c5eddae216)

## See also

[**RuleError**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/ruleerror.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
