code: public Observable<List<PatternRuleInfo>> batchAddPatternsAsync(UUID appId, String versionId, List<PatternRuleCreateObject> patterns) {
          return batchAddPatternsWithServiceResponseAsync(appId, versionId, patterns).map(new Func1<ServiceResponse<List<PatternRuleInfo>>, List<PatternRuleInfo>>() {
              @Override
              public List<PatternRuleInfo> call(ServiceResponse<List<PatternRuleInfo>> response) {
                  return response.body();
              }
          });
      }
docs: Adds a batch of patterns to the specified application.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param patterns A JSON array containing patterns.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the List&lt;PatternRuleInfo&gt; object