--- title: "Change the order of custom rules" slug: "change-the-order-of-custom-rules-1" tags: ["Product Usage", "DS 10.x", "Database Security"] updated: 2026-09-10T15:20:37Z published: 2026-09-10T15:20:37Z canonical: "docs.trellix.com/change-the-order-of-custom-rules-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Change the order of custom rules The order of the rules in the **Custom Rules** list is important. The first rule that is matched is the rule that is applied to the statement. If a statement does not match any of the existing rules, the statement is allowed. The Database Security system enables you to create a policy according to your preferences and security requirements in various ways. Fundamentally, there are two approaches to define a policy: - **Allow list approach** — Resembles the approach of firewalls, whereby you determine the allowed actions first and then alert on all other actions (assuming that all other actions are suspect). - **Block list approach** — Resembles the approach of IDS/IPS systems, whereby everything is allowed except actions that are considered suspect. Database Security users normally create a policy that integrates elements of both approaches, for example, using a Block list approach for all known attacks, while using a Allow list approach for the use of development SQL tools. > [!NOTE] > Note > > Incoming statements are checked against the **vPatch Rules** list before they are checked against the **Custom Rules** list. 1. On the **Rules** page, select the **Custom Rules** tab. 2. Select the rule in the **Custom Rules** list and then drag the position indicator ![GUID-E1B71CDD-80E4-463F-85C6-5FC3B261CCCA-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0fa6fcc3-3619-f4f2-be27-df97e536f729(2).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A54%3A49Z&se=2026-11-22T15%3A54%3A49Z&sr=c&sp=r&sig=7TJKyMguJY7jH75qGiDkKUazugOIVfDd6R%2FvSB47wsI%3D) on the slider to a new location as required.