code: func (a *ACL) RulesTranslate(rules io.Reader) (string, error) {
  	r := a.c.newRequest("POST", "/v1/acl/rules/translate")
  	r.body = rules
  	rtt, resp, err := requireOK(a.c.doRequest(r))
  	if err != nil {
  		return "", err
  	}
  	defer resp.Body.Close()
  	qm := &QueryMeta{}
  	parseQueryMeta(resp, qm)
  	qm.RequestTime = rtt
  
  	ruleBytes, err := ioutil.ReadAll(resp.Body)
  	if err != nil {
  		return "", fmt.Errorf("Failed to read translated rule body: %v", err)
  	}
  
  	return string(ruleBytes), nil
  }
docs: // RulesTranslate translates the legacy rule syntax into the current syntax.
  //
  // Deprecated: Support for the legacy syntax translation will be removed
  // when legacy ACL support is removed.