# Add Custom Rule

Creating a rule allows you to define precisely when and on which machines a package will be deployed.

[![rulesadd.png](https://docs.medulla-tech.io/uploads/images/gallery/2025-05/scaled-1680-/9Etrulesadd-png.png)](https://docs.medulla-tech.io/uploads/images/gallery/2025-05/scaled-1680-/9Etrulesadd-png.png)

**Steps:**

1. Side menu → **Add Rule**
2. Define conditions: 
    - Example: Run every Monday at 9 a.m. on Windows 11 posts in Building A
3. Associate this rule with one or more packages
4. Save

The rule is now activated and automatically applied when its conditions are met.