private ListBox loadBoundFacts(String binding) {
    ListBox listBox = new ListBox();
    listBox.addItem(GuidedDecisionTableConstants.INSTANCE.Choose());
    List<String> factBindings = rm.getLHSBoundFacts();

    for (int index = 0; index < factBindings.size(); index++) {
      String boundName = factBindings.get(index);
      if (!"".equals(boundName)) {
        listBox.addItem(boundName);
        if (boundName.equals(binding)) {
          listBox.setSelectedIndex(index + 1);
        }
      }
    }

    listBox.setEnabled(listBox.getItemCount() > 1);
    if (listBox.getItemCount() == 1) {
      listBox.clear();
      listBox.addItem(GuidedDecisionTableConstants.INSTANCE.NoPatternBindingsAvailable());
    }
    return listBox;
  }
 public BRLRuleModel getRuleModel(BRLColumn<IPattern, BRLConditionVariableColumn> column) {
   BRLRuleModel ruleModel = new BRLRuleModel(model);
   List<IPattern> definition = column.getDefinition();
   ruleModel.lhs = definition.toArray(new IPattern[definition.size()]);
   return ruleModel;
 }