
## delete_rule {#int}

Used to delete a rule from the media block.



```python
def delete_rule(self, index):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| index | int | The index. |



### See Also
* module [`aspose.html.dom.css`](../../)
* class [`ICSSMediaRule`](/html/python-net/aspose.html.dom.css/icssmediarule)
