# WithAdditionalDiagnosticRules(List<Rule>)

> Adds a list of additional Rules which will be applied during analysis.

## Definition

* **Type:** Method
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.5/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

```csharp
public AnalysisParams WithAdditionalDiagnosticRules(List<Rule> rules)
```

### Parameters

**** (\[List\<Rule>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): Additional Rules to impose.

### Returns

| Type                                                                                            | Description                                                    |
| ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [AnalysisParams](/engine/6000.5/script-reference/unity/projectauditor/editor/analysisparams.md) | This AnalysisParams object, after adding the additional Rules. |
