> For the complete documentation index, see [llms.txt](https://landofcoder.gitbook.io/magento-2-step-recommendation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://landofcoder.gitbook.io/magento-2-step-recommendation/config-and-usage/create-recommendation-rules/manage-recommendation-rules.md).

# Manage Recommendation Rules

Go to admin > Catalog > Lof Step Recommendation > Rule

![List Rules](/files/-MgtLPlktN8_4f6ccDR8)

**Add New Rule**

![Step 1: Choose Questions and sorting them](/files/-MgtLXEWkSCrrtHajSDc)

After choose questions, then click on save rule to next step

![Step 2: Input product sku, or category id for each combined answers](/files/-MgtLsWqVB9ZXGuKvE9w)

**Result type:** You only can input product sku or category Id, redirect link query, cms block id for each record. Can not input them together.

You can input multiple product sku by use comma. Example: **SKU1,SKU2,SKU3,...**

**Type**:

* **Category id**: input category id (number)
* **product sku**: input one or multiple product skus (string)
* **Redirect Link**: input with format: **query=query-identifier** (**query-identifier** is redirect link query which you added in admin > catalog > Lof StepRecommendation > Redirect Link)
* **CMS Block Id**: input cms block identifier as the format: **block=block-identifier** (**block-identifier** is cms block identifier)

![Input result value for there types](/files/-MgxU7Wnj-LKcIEcdkU_)

After input for all, please click on save rule

**Note**: If you change list questions or sorting questions, delete exists questions, the rule will been generated the list combined answers (result records) again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://landofcoder.gitbook.io/magento-2-step-recommendation/config-and-usage/create-recommendation-rules/manage-recommendation-rules.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.
