public class ColoringEditorTools {
public static void add(Rule rule, List rules, ITokenFactory factory) {
List allTypes = rule.getTypes();
for (Iterator typeI = allTypes.iterator(); typeI.hasNext();) {
Type type = (Type) typeI.next();
add(rule, type, factory, rules);
}
}