code: public Observable<RecommendationRuleInner> getRuleDetailsByWebAppAsync(String resourceGroupName, String siteName, String name) {
          return getRuleDetailsByWebAppWithServiceResponseAsync(resourceGroupName, siteName, name).map(new Func1<ServiceResponse<RecommendationRuleInner>, RecommendationRuleInner>() {
              @Override
              public RecommendationRuleInner call(ServiceResponse<RecommendationRuleInner> response) {
                  return response.body();
              }
          });
      }
docs: Get a recommendation rule for an app.
  Get a recommendation rule for an app.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param siteName Name of the app.
  @param name Name of the recommendation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the RecommendationRuleInner object