code: public Observable<PatternRuleInfo> addPatternAsync(UUID appId, String versionId, PatternRuleCreateObject pattern) {
          return addPatternWithServiceResponseAsync(appId, versionId, pattern).map(new Func1<ServiceResponse<PatternRuleInfo>, PatternRuleInfo>() {
              @Override
              public PatternRuleInfo call(ServiceResponse<PatternRuleInfo> response) {
                  return response.body();
              }
          });
      }
docs: Adds one pattern to the specified application.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param pattern The input pattern.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PatternRuleInfo object