private void loadViolationType(String ruletypeKey) {
   for (RuleType ruletype : ruletypes) {
     if (ruletype.getKey().equals(ruletypeKey)) {
       clearModel(violationtypeModel);
       for (ViolationType violationtype : ruletype.getViolationTypes()) {
         violationtypeModel.addRow(
             new Object[] {violationtype.getViolationtypeKey(), 1, violationtype.isActive()});
       }
     }
   }
 }
 private void LoadRuleTypes() {
   for (RuleType ruletype : ruletypes) {
     ruletypeModel.addRow(new Object[] {ruletype.getKey(), ts.getAllSeverities().get(0)});
   }
 }