---
title: "Rules"
canonical: "https://docs.getxray.app/space/XRAY/159678612/Rules"
format: markdown
---
![Banner-Xray-Documentation-Enterprise.png](media://537810ea-3d93-4f57-938a-0b719c9386d5)

# Introduction

Rules are a set of [Constraints](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/159712684) and/or [Forced Interactions](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/160235553) that can ensure your model follows mandatory business rules you may want to include in your [Test Model](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/159712194) outcomes.

Rules are crucial for generating valid and efficient test scenarios. They prevent invalid [Parameter](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/159712452) combinations, reduce redundant Tests, maximize coverage of important cases, and save time by focusing on relevant [Scenarios](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/160137241).

# Access

> Macro (ui-steps)
> 
> > Macro (legacy-content)
> 
> > Macro (legacy-content)

<span style="color: #172b4d">Learn more: </span>

> Macro (children)

<details>
<summary>Support/Troubleshooting</summary>

If you have questions or technical issues, please [contact the Support team via the Customer Portal (Jira service management)](https://jira.getxray.app/servicedesk/customer/portal/2/user/login?destination=portal%2F2%2Fcreate%2F28) or [send us a message using the in-app chat](https://getxraydocs.atlassian.net/wiki/spaces/XRAY/pages/301501383).
</details>