code: def create_notification_rule(self, data, **kwargs):
          
          data = {'notification_rule': data, }
          endpoint = '{0}/{1}/notification_rules'.format(
              self.endpoint,
              self['id'],
          )
          result = self.request('POST', endpoint=endpoint, data=data,
                                query_params=kwargs)
          self._data['notification_rules'].append(result['notification_rule'])
          return result
docs: Create a notification rule for this user.