return this.rules.get(ruleName);
}
public RulePanel createNewRule(final String documentName){
final String name = this.checkName("Rule", "Rule", 0);
this.activeRule = new RulePanel(this.visualRifEditor, name);
this.rules.put(name, this.activeRule);
this.visualRifEditor.getTreePane().addNewRule(this.activeRule,documentName);
this.printRules();
final TreePath path = this.activeRule.getRulePath();
this.visualRifEditor.getDocumentContainer().getActiveDocument().getListOfRules().add(name);