code: def get_rules(self, subreddit, bottom=False):
          
          url = self.config['rules'].format(subreddit=six.text_type(subreddit))
          return self.request_json(url)
docs: Return the json dictionary containing rules for a subreddit.
  
          :param subreddit: The subreddit whose rules we will return.