> For the complete documentation index, see [llms.txt](https://village-labs.gitbook.io/coworker-product-and-developer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://village-labs.gitbook.io/coworker-product-and-developer-docs/legacy-knowledge-base/programs-and-rules/conditions.md).

# Conditions

Conditions for both Rules and Programs.

Conditions allow you to add additional logic to restrict or modify a given rule or program.&#x20;

These include Segment, Time, Max Budget and Multiplier Conditions at both the program- and rule-level.

{% hint style="warning" %}
It's important to remember the hierarchy of program- and rule-level conditions. Rule-level conditions are additive to program-level conditions. However, program-level conditions apply to all rules in a given program. That means where they are in conflict, program-level conditions will take precedence.
{% endhint %}
