# Rule class

Namespace: [Grasshopper2.UI.TabbedPanel](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.tabbedpanel.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Rule : IEquatable<Rule>
```

A rule for modifying the distribution of proxies in the

## Properties

- [Argument](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/argument.md): Gets the argument (if any) for this rule.
- [Kind](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/kind.md): Gets the rule kind.
- [Selector](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/selector.md): Gets the selector text for proxies. It's a wildcard string which will be matched against 'Chapter.Section.Name' format.

## Methods

- [CreateCiteRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createciterule.md): (static) Create a CITE rule.
- [CreateHideRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createhiderule.md): (static) Create a HIDE rule.
- [CreateMoveRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createmoverule.md): (static) Create a MOVE rule.
- [CreateNote](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createnote.md): (static) Create a comment.
- [CreateRankRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createrankrule.md): (static) Create a RANK rule.
- [CreateShowRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createshowrule.md): (static) Create a SHOW rule.
- [CreateSlotRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createslotrule.md): (static) Create a SLOT rule.
- [CreateSortRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createsortrule.md): (static) Create a SORT rule.
- [CreateTintRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/createtintrule.md): (static) Create a TINT rule.
- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/equals.md)
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/tostring.md): Returns a string that represents the current object.
- [TryParse](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.rule/tryparse.md): (static) Try and parse a textual command into a genuine rule.
