public static void compileRules(String rules, OutputStream ruleBinary) throws IOException {
        RBBIRuleBuilder.compileRules(rules, ruleBinary);
    }
public static void compileRules ( String rules , OutputStream ruleBinary ) throws IOException { RBBIRuleBuilder . compileRules ( rules , ruleBinary ) ; }
Compile a set of source break rules into the binary state tables used
by the break iterator engine.  Creating a break iterator from precompiled
rules is much faster than creating one from source rules.

Binary break rules are not guaranteed to be compatible between different
versions of ICU.


@param rules  The source form of the break rules
@param ruleBinary  An output stream to receive the compiled rules.
@throws IOException If there is an error writing the output.
@see #getInstanceFromCompiledRules(InputStream)