# Ratel ## Edit Rule

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 edit the data of a rule.

Expression before the position -- Enter the regular expression for the text just before the break point of this rule. The expression must be a valid regular expression.

Expression after the position -- Enter the regular expression for the text just after the break point of this rule. The expression must be a valid regular expression.

Note that SRX 2.0 regular expressions are ICU regular expressions. See the section on SRX and Java for more details.

Insert a segment break at this position -- Select this option to define a segment break.

Do not break at this position -- Select this option to prevent a segment break.

Example:

        before: [Ee][Tt][Cc]\.
         after: \s
    is a break: no

        before: \.
         after: \s
    is a break: yes

You should usually list non-break rules (exceptions) before break rules, so they are evaluated before the break rules.