# NamedRules 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 NamedRules : IEquatable<NamedRules>
```

Named rules.

## Constructors

- [NamedRules](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/ctor.md)

## Fields

- [DefaultRules](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/defaultrules.md): (static)
- [Extension](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/extension.md): (static)
- [NothingRules](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/nothingrules.md): (static)

## Properties

- [Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/name.md): Gets the names.
- [Predefined](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/predefined.md): Gets whether the [NamedRules.Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/name.md) field is one of the predefined names which ought not be modified by the user.
- [Previous](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/previous.md): Gets the previous instance of these named rules. This is basically to keep track of undo-stacks.
- [Rules](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/rules.md): Gets the rules.

## Methods

- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/equals.md)
- [Load](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/load.md): (static) Load a ruleset from a file.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/store.md): Store this instance on the disk.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/tostring.md)
- [WithName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/withname.md): Modify the name of this instance.
- [WithRules](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.namedrules/withrules.md): Modify the rules of this instance.
