# Conditions

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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://village-labs.gitbook.io/coworker-product-and-developer-docs/legacy-knowledge-base/programs-and-rules/conditions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
