> ## 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.

# FlexiLayout Language

> Learn how to use the FlexiLayout language to set up additional conditions for matching Extraction Rules activities to documents with precision.

To match an Extraction Rules activity to a document with more precision, you can set up various additional conditions: element properties, search conditions, and additional restrictions for the formulated hypothesis. These additional conditions are specified as program code. Commands are written using a special language developed specifically for FlexiLayouts.

To set up additional conditions, select an appropriate element, open the Code Editor pane using the code editor button on the bottom pane and select an appropriate section:

* [Search Condition](/vantage/documentation/advanced-designer/activities/flexilayout/search-conditions/search-condition-functions) to set up an element search parameter and restrict the search area.
* [Hypotheses Evaluation](/vantage/documentation/advanced-designer/activities/flexilayout/hypothesis-eval-functions) to use specific element properties to penalize a formulated hypothesis.
* [External Fields](/vantage/documentation/advanced-designer/activities/flexilayout/user-defined-properties) to set up custom properties, for example, typed variables belonging to a specific element.
