docs: public FactPattern getLHSBoundFact(final String var) {
          if (this.lhs == null) {
              return null;
          }
          for (int i = 0; i < this.lhs.length; i++) {
              IPattern pat = this.lhs[i];
              if (pat instanceof FromCompositeFactPattern) {
                  pat = ((FromCompositeFactPattern) pat).getFactPattern();
              }
              if (pat instanceof FactPattern) {
                  final FactPattern p = (FactPattern) pat;
                  if (p.getBoundName() != null && var.equals(p.getBoundName())) {
                      return p;
                  }
              }
          }
          return null;
      }