code: public PushRules getPushRules(Object projectIdOrPath) throws GitLabApiException {
          Response response = get(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath), "push_rule");
          return (response.readEntity(PushRules.class));
      }
docs: Get the project's push rules.
  
  <pre><code>GET /projects/:id/push_rule</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @return the push rules for the specified project
  @throws GitLabApiException if any exception occurs