--- title: "How targets in subrules are evaluated" slug: "how-targets-in-subrules-are-evaluated" tags: ["Product Usage", "ENS 10.7.x", "Endpoint Security"] updated: 2026-09-14T20:39:03Z published: 2026-09-14T20:39:03Z canonical: "docs.trellix.com/how-targets-in-subrules-are-evaluated" 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. # How targets in subrules are evaluated Each target is added with an **Include** or **Exclude** directive. ![GUID-5E6C68AD-A937-4C1C-B8EF-7A93773D33BD-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-25217283-041e-2c4a-f912-446f4532a13c.png?sv=2026-02-06&spr=https&st=2026-11-20T11%3A20%3A32Z&se=2026-11-20T12%3A20%3A32Z&sr=c&sp=r&sig=Ct9w%2FIiTFEJoaLkWn88AxT8QHAIRKMYAHNamv6xNVbE%3D) When evaluating a system event against a subrule, the subrule evaluates to *true* if: - At least one *Include* evaluates to *true*. *and* - All *Excludes* evaluate to *false*. **Exclude** takes precedence over **Include**. Here are examples: - If a single subrule both includes and excludes a file C:\marketing\jjohns, the subrule does not trigger for that file. - If a subrule includes *all* files but excludes the file C:\marketing\jjohns, the subrule triggers if the file is not C:\marketing\jjohns. - If a subrule includes file C:\marketing\* but excludes C:\marketing\jjohns, the subrule triggers for C:\marketing\anyone, but doesn't trigger for C:\marketing\jjohns.