code: func (c *Client) GetRule(i *GetRuleInput) (*Rule, error) {
  	if i.RuleID == "" {
  		return nil, ErrMissingRuleID
  	}
  
  	path := fmt.Sprintf("/wafs/rules/%s", i.RuleID)
  	resp, err := c.Get(path, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var rule Rule
  	if err := jsonapi.UnmarshalPayload(resp.Body, &rule); err != nil {
  		return nil, err
  	}
  	return &rule, nil
  }
docs: // GetRule gets a Rule using the Rule ID.