Add a rule to the Mode.
@param pattern a Pattern
@param action the Object to return from getRule() when the supplied node matches this Pattern
@param precedence the import precedence of the rule
@param priority the explicit or implicit priority of the rule
@param explicitMode true if adding a template rule for a specific (default or named) mode;false if adding a rule because it applies to all modes
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.