for(JTabbedPane rulePackagePane : this.editor.getRulePackages()) {
RulePackagePanel rulePackage = (RulePackagePanel) rulePackagePane;
String rulePackageName = rulePackage.toString();
String rulePackageClassName = this.capitalizeWord(rulePackageName.replaceAll(" ", "") + "RulePackage");
String rulePackageClassFileName = rulePackageClassName + ".java";
RuleContainer ruleContainer = this.editor.getRuleContainer();
System.out.println(":: generating " + rulePackageClassFileName + "...");
StringBuffer rules = new StringBuffer();
LinkedList<String> associatedRulePackages = this.editor.getAssociationsContainer().getAssociationsToRulePackage(rulePackageName);
int failedRules = 0;
for(int i = 0; i < associatedRulePackages.size(); i += 1) {
String ruleName = associatedRulePackages.get(i).replaceAll(" ", "") + "Rule";
Triple<Boolean, HashMap<String, VariableContainer>, HashMap<String, VariableContainer>> resultTriple = this.validateRule(this.capitalizeWord(ruleName), ruleContainer.getRule(associatedRulePackages.get(i)));
if(!resultTriple.getFirst()) {
failedRules++;
continue;