
## RuleCollection class

Rule collection.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Count](#count) | int |  |
| [Item (int)](#itemint) | Rule |  |

## Methods

| Name | Description |
| --- | --- |
| [add](#add) | Add the rule in the collection. |
| [remove](#remove) | Remove the rule from the collection. |
| [clear](#clear) |  |
| [removeAt](#removeat) |  |
| [iterator](#iterator) | Reserved for internal use. |

### RuleCollection.Count property {#count}

**Type:** int

### RuleCollection.Item (int) property {#itemint}

**Type:** Rule

### add(rule) {#add}

Add the rule in the collection.

| Parameter | Type | Description |
| --- | --- | --- |
| rule | Rule |  |

### remove(rule) {#remove}

Remove the rule from the collection.

| Parameter | Type | Description |
| --- | --- | --- |
| rule | Rule |  |

### clear() {#clear}

### removeAt(index) {#removeat}

### iterator() {#iterator}

Reserved for internal use.
