# system.kanoa.tooling.getCompatibilityRules(paramsDict)

The fit rules (mes.toolingCompatibility): where a tool may be mounted. A rule is for one tool, or for every tool of a tooling type, and names one parent: a machine, a tool that holds inserts, or an asset type. A tool with no enabled rules (its own or its type's) fits anywhere; once it has one, it only mounts on a parent one of them names.

---

### Parameters

**paramsDict** `Dictionary`<br />
<table class='dictionaryKeyTable'>
 <tbody>
  <tr><td> - toolingAssetId</td><td>Integer</td><td>The rules that apply to this tool, its own and its type's</td></tr>
  <tr><td> - assetTypeId</td><td>Integer</td><td>The rules for this tooling type</td></tr>
  <tr><td> - enabled</td><td>Boolean</td><td></td></tr>
 </tbody>
</table>

---

### Returns

**rules** `pyDataset`: toolingCompatibilityId, ruleFor ('tool' or 'type'), childToolingAssetId, childToolingName, childAssetTypeId, childTypeName, childName, parentKind ('tool', 'asset' or 'type'), parentToolingAssetId, parentToolingName, parentAssetId, parentAssetName, parentAssetPath, parentAssetTypeId, parentTypeName, parentName, enabled, createdBy, createdDate, changedBy, changedDate. The tool's own rules come first.<br />

---

### Example

```python
paramsDict = {'toolingAssetId': 1}
rules = system.kanoa.tooling.getCompatibilityRules(paramsDict)
```
