---
title: "If I want a specific approval rule to only apply to certain types of requirements, is that possible and how do I configure Ketryx?"
description: "Yes, it is possible to apply specific approval rules to subsets of requirements. The key is to apply a Ketryx Query Language (KQL) filter in the advanced settings JSON."
category: "Frequently Asked Questions"
section: "Advanced Settings"
keywords: ["approval rule", "specific approval", "requirements possible", "quote", "certain types", "apply", "types requirements", "json"]
source_url: "https://support.ketryx.com/hc/en-us/articles/35452024285581-If-I-want-a-specific-approval-rule-to-only-apply-to-certain-types-of-requirements-is-that-possible-and-how-do-I-configure-Ketryx"
last_reviewed: 2026-06-11
---

# If I want a specific approval rule to only apply to certain types of requirements, is that possible and how do I configure Ketryx?

> **In short:** Yes, it is possible to apply specific approval rules to subsets of requirements. The key is to apply a Ketryx Query Language (KQL) filter in the advanced settings JSON.

Yes, it is possible to apply specific approval rules to subsets of requirements.  The key is to apply a Ketryx Query Language (KQL) filter in the advanced settings JSON.  The JSON follows the syntax below:

```
"itemFilter": "Insert KQL language here"
```

So for example, if I wanted a specific approval rule to apply only to Requirements with parent Requirements, I would specify:

```
"itemFilter": "RQ and \"has parent\"::RQ"
```

The subsequent approval rule would then apply only to this subset of requirements.

Note: the distinction between KQL used in JSON, and KQL used to filter items from the All Items screen, is how quote marks are handled ("").  In the JSON, nested quote marks must be preceded by a backslash (\\") for both opening and closing the quoted section.  Otherwise, the JSON script will read the openning of the first nested quote as the closing of the initial quote, which will create invalid syntax.

## Related articles

- [How can I filter and manage risks of different types?](how-can-i-filter-and-manage-risks-of-different-types.md)
- [Can I omit the need for owner approval for certain items?](can-i-omit-the-need-for-owner-approval-for-certain-items.md)
- [How can I save edited approval rules so they don't revert to the default approval once a document is transitioned to the close state?](how-can-i-save-edited-approval-rules-so-they-don-t-revert-to-the-default.md)
- [Do system-level controls apply to custom item types?](do-system-level-controls-apply-to-custom-item-types.md)
- [How Can I Filter Items by Status and Approval on the All Items Page?](how-can-i-filter-items-by-status-and-approval-on-the-all-items-page.md)
