--- title: "Creating a new rule using the Web UI" slug: "creating-a-new-rule-using-the-web-ui" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:02Z published: 2026-08-24T19:53:02Z canonical: "docs.trellix.com/creating-a-new-rule-using-the-web-ui" stale: true --- > ## 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. # Creating a new rule using the Web UI Follow these steps to add a new rule using the Web UI: 1. In the Web UI, choose **Settings > Advanced Rules**. 2. Click **Create**. The **Create New Rule** dialog box appears. 3. In the **Rule Name** box, type a name for the rule. 4. Click the **Type** drop-down list and select the type of rule. 5. Click the **Operation** drop-down list and select the required operation. 6. In the **Value** box, enter the value to be matched. > [!NOTE] > Note > > Use + to combine the criteria with a Boolean operation. 7. Click the **Actions** drop-down list and select whether to allow or block the rule policy. Click **Create Rule**. The rule is created and displayed in the custom rules page. ### Usage guidelines for configuring advanced rules Follow these usage guidelines when you are configuring advanced rules: - The operations "==" and "!=" will perform an exact match of the specified value. - The "MATCHES" operation supports regular expressions and works based on regex matches. The value provided for the "MATCHES" operation will be considered as a regular expression. For example, to check for email attachments with a .pdf extension, the following regular expression can be used: \.pdf$