
You can promote brands in the search results using rules. For example, if you have a partnership with a certain brand, you might want to promote items from that brand for some queries. Another example of promoting is returning an item in a specified position in the search results. This is useful when you added a new item to your inventory and it lacks user interactions. You can promote that item to be the first in the search results for a given query.

In this use case, we will show you how to combine both scenarios in one rule that is triggered when a customer searches for `4k UHD TV` (the rule requires exactly this query string):
- `brandA` is promoted.
- An item (called `item1` in this example) is shown as the first result of the search.

## Prerequisites
---
- An item feed must be provided.
- The attribute containing the item's brand must be added to [filterable attributes](/docs/ai-hub/ai-search/define-attributes#filterable-attributes).
- The Search Engine must be enabled for your workspace.

## Creating the rule
---
1. Go to **AI Hub > Indexes**. 
2. Choose the index for which you want to apply the rule.
3. Go to the **Rules** tab.
4. Click **Add rule**.
5. In the top left corner of the screen, enter the name of the rule. 
6. In the **Conditions** section, click the **Define** button.
7. In the **Query** option (selected by default), leave the **If query** value at **is**.
8. In the **Phrase** input, type `4k UHD TV`. 
9. Click **Apply**.
10. In the **Consequences** section, click the **Define** button.
11. Click **Add consequence** and from the dropdown menu choose **Promote item**. 
12. In the **Item** input provide the item that will be promoted. In our example, it is `item1`.
13. Change the **Position** to the place in the search results that the item should be promoted to. In our case, it's `1`.
14. Click **Add consequence** and from the dropdown menu choose **Filter query results**.  
    <figure>
    <img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/use-cases/all-cases/_gfx/promBrand.png" alt="The rule view for promoting an item. The selection menu for the second consequence is open." class="full" >
    <figcaption>Settings of the rule that promotes an item. The selection menu for the second consequence is open.</figcaption>
    </figure>
15. Click **Add filter**.  
    **Result:** A dropdown menu and an input field appear above the **Add filter** button.
16. From the dropdown menu, choose the attribute that contains the brand of the items that you want to show in the results.
17. In the input field to the right of the dropdown, provide the brand that will be promoted. 
18. Click **Apply**.
19. **Optional**: To schedule your rule to be active from a start date to an end date, click **Define** in the **Schedule** section.  
    Otherwise, your rule will be active immediately, with no end date. 
20. In the top right corner of the screen, click the **Save & publish** button. 

## Read more
---
- [AI Search](/docs/ai-hub/ai-search)
- [Rules](/docs/ai-hub/ai-search/query-rules)
 
