--- title: "Static rule" slug: "core-static-rule" updated: 2025-12-12T16:23:27Z published: 2025-12-13T16:24:43Z canonical: "docs.lobstersoftware.com/core-static-rule" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Static rule > [!NOTE] > Rule type – Abstract > > **Purpose:** Is considered as 'passed' or 'failed' depending on the 'switch position' statically defined in the configuration. > > > [!TIP] > > Tooltip > > > > - **Usage**: A [Static rule](/v1/docs/en/core-static-rule) always returns the value statically assigned in the configuration (`true`/ `false`) as the result. > > - **Parameter**: The 'switch' in the configuration statically defines the result of the check as 'passed' (ON or `true`) or 'failed' (OFF or `false`). **![images/download/attachments/201665515/image-2025-3-27_12-3-41-version-1-modificationdate-1743073422002-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-27_12-3-41-version-1-modificationdate-1743073422002-api-v2.png)** The [Static rule](/v1/docs/en/core-static-rule) is considered as 'passed' or 'failed' depending on the 'switch position' statically defined in the configuration. ## Configuration | Configuration | Effective effect | Purpose | | --- | --- | --- | | **![images/download/attachments/201665515/image-2025-3-27_12-3-41-version-1-modificationdate-1743073422002-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-27_12-3-41-version-1-modificationdate-1743073422002-api-v2.png)** | ![images/download/attachments/201665515/image-2025-3-27_12-4-59-version-1-modificationdate-1743073499318-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-27_12-4-59-version-1-modificationdate-1743073499318-api-v2.png) | A [Static rule](/v1/docs/en/core-static-rule) that is always considered as 'passed' is often used as the only rule in an association criterion with very low priority. This association criterion can then be used for assignments that are to define the 'fallback' in the case of an association via the *best matching* principle, which is always assigned if no other association criterion (with higher priority) applies in a context. The [Static rule](/v1/docs/en/core-static-rule) can also be used to define an association criterion that is used as a [Sub criterion rule](/v1/docs/en/core-association-sub-criteria-rule) in other rules. Then the configuration of this association criterion can act as a 'central switch' for the logic in many places in the system. A use case would be an association criterion 'BETA_MODE', which can be specifically set to 'ON' or 'OFF' by configuration, in order to temporarily switch a bundle of additional functionalities active or inactive in an existing system. Within a more complex rule, a [Static rule](/v1/docs/en/core-static-rule) with the switch set to 'ON' acts as a *vertical bypass*, which means that any disjunction rules to the right are no longer evaluated. With the switch set to 'OFF', the [Static rule](/v1/docs/en/core-static-rule) acts as a *horizontal bypass* (to the right), so that any conjunction rules below it are no longer evaluated. The [Static rule](/v1/docs/en/core-static-rule) can therefore be used when developing and testing more complex rules to be able to set logical 'aggregates' temporarily active or inactive. | | ![images/download/attachments/201665515/image-2025-3-27_12-4-12-version-1-modificationdate-1743073452430-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-27_12-4-12-version-1-modificationdate-1743073452430-api-v2.png) | ![images/download/attachments/201665515/image-2025-3-27_12-4-36-version-1-modificationdate-1743073476515-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-27_12-4-36-version-1-modificationdate-1743073476515-api-v2.png) |