code: public Optional<TableRule> findTableRule(final String logicTableName) {
          for (TableRule each : tableRules) {
              if (each.getLogicTable().equalsIgnoreCase(logicTableName)) {
                  return Optional.of(each);
              }
          }
          return Optional.absent();
      }
docs: Find table rule.
  
  @param logicTableName logic table name
  @return table rule