# Ratel ## Groups and Options

If you are using an Okapi Tool after the M9 release, you should be using the wiki online help:
http://www.opentag.com/okapi/wiki/index.php?title=Ratel

This dialog box allows you to create, edit and remove groups of rules and language maps.

### Options

Segment sub-flow items -- Set this option to set the SRX `segmentsubflows` attribute to `yes`. This option is used by some tool to know if they should segment text runs embedded inside other text runs.

Cascade language maps matching -- Set this option to enable language map matches to cascade.

Include opening in-line codes -- Set this option to include any opening in-line code located just before a break with the segment being closed. If this option is not set such in-line code should be placed in the next segment. For example, assuming a period follow by a space has a break after the period:

     ON: Sentence one.<b> Sentence two.</b> ==> [Sentence one.<b>][ Sentence two.</b>]
    OFF: Sentence one.<b> Sentence two.</b> ==> [Sentence one.][<b> Sentence two.</b>]

Include closing in-line codes -- Set this option to include any closing in-line code located just before a break with the segment being closed. If this option is not set such in-line code should be placed in the next segment. For example, assuming a period follow by a space has a break after the period:

     ON: Sentence <b>one.</b> Sentence two. ==> [Sentence <b>one.</b>][ Sentence two.]
    OFF: Sentence <b>one.</b> Sentence two. ==> [Sentence <b>one.][</b> Sentence two.]

Include isolated in-line codes -- Set this option to include any isolated code located just before a break with the segment being closed. If this option is not set such in-line code should be placed in the next segment. For example, assuming a period follow by a space has a break after the period:

     ON: Sentence one.<br/> Sentence two. ==> [Sentence one.<br/>][ Sentence two.]
    OFF: Sentence one.<br/> Sentence two. ==> [Sentence one.][<br/> Sentence two.]

### Language Rules

List of all the groups of rules in the document.

Add -- Click this button to add a group of rules to the list.

Rename -- Click this button to rename the group of rules currently selected. Note that references to that group in the language maps are not updated automatically.

Remove -- Click this button to remove the group of rules currently selected. The program will ask for confirmation. Note that references to that group in the language maps are not updated automatically.

### Language Maps

List of all the language maps in the document.

Add -- Click this button to add a language map to the list.

Edit -- Click this button to edit the language map currently selected.

Remove -- Click this button to remove the language map currently selected.

Move Up -- Click this button to move the language map currently selected upward in the list.

Move Down -- Click this button to move the language map currently selected downward in the list.