> For the complete documentation index, see [llms.txt](https://docs.launchmynft.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.launchmynft.io/generate-and-upload/generate-and-upload-overview/v2-generator-step-3-rules.md). Agents can also search and read this documentation through its [MCP server](https://docs.launchmynft.io/~gitbook/mcp).

# V2 Generator Step 3 - Rules

Solana & EVM Guide

Click add a condition to apply trait generation rules

<figure><img src="https://1990047507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZPJCoYH2H7e45FNRu2xH%2Fuploads%2Fga0DM1HygAIeAg2Cxhkp%2FScreenshot%202025-05-21%20180542.png?alt=media&amp;token=610f538f-9f20-4cee-8b2b-2c751a13c414" alt=""><figcaption><p>trait generation rules</p></figcaption></figure>

<figure><img src="https://1990047507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZPJCoYH2H7e45FNRu2xH%2Fuploads%2FGkm95uA8JtAsdWlCZN2j%2FScreenshot%202025-05-21%20180827.png?alt=media&amp;token=c7ead171-e1be-4a2e-bc0d-1e1cea4db84a" alt=""><figcaption><p>filtering rules</p></figcaption></figure>

### IF

1, Select the layer containing the trait or traits you want to apply rules to

2, Select the operation from&#x20;

* name contains (eg Red, then all names with Red will be filtered)
* is (for a specific trait or traits)
* is not (to exclude a specific trait or traits from the filtering)

3, Select the specific trait or traits from the dropdown

### THEN

1, Select Action from

* Only Pick from > Select target layer > Select target trait
* Hide Layer > Select target layer from dropdown list

Hit Add then statements to add more

Add a CondItion to add more IF/THEN rules

## Save and Export Rules

This will save you a lot of time if you need to run the generation again

<figure><img src="https://1990047507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZPJCoYH2H7e45FNRu2xH%2Fuploads%2FtdETMykC2RkJUIz7ieIS%2FScreenshot%202026-06-25%20161551.png?alt=media&amp;token=915f7fec-3dfa-4aa5-9a10-4de4adc22fef" alt=""><figcaption></figcaption></figure>
