Register a type to be understood by Valum.RuleRoute.
If a type is already registered with that name, it is replaced with the new definition.
name |
name by which types are identified in the rule pattern |
pattern |
matches instance of the type in a path |