# Virtual Path Rules tab

## Associate File Processing Rules with a Virtual Path

File Processing Rules must be associated with a Virtual Path in the Connection Contract. This association determines which files under that Virtual Path will activate the corresponding rule.

To associate a **File Processing Rule with a Virtual Path**, follow these steps:

1. In the **Virtual Path Rules** tab, click **New**.
2. In the **New Virtual Path rules** page, select the **VFS** and the **Virtual Path** where the rule will be applied. The Storage Class and the Retention Class of the selected VFS will be applied.&#x20;
3. In the **Rules** section, perform one of the following actions:&#x20;
   1. Select one or more **File Processing Rules** and specify their processing direction (**INBOUND** or **OUTBOUND**).
   2. Create a new File Processing Rule by selecting **New** from the drop‑down list. The configuration options for creating a new rule are described in the [Define File Processing Rules](#define-file-processing-rules) section.
4. Click **Add** and verify that the configuration is correct.
5. If necessary, adjust the processing direction for a rule. Use the 3-dot icon to modify or remove the File Processing Rule associated with the selected VFS.
6. Select **Save** to apply the configuration.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-mover-1.21/contracts/create-your-first-contract/create-a-connection-contract/virtual-path-rules-tab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
