<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rate_limit(self, name, limit=5, per=60, debug=False):
 """ Rate limit implementation. Allows up to `limit` of events every `per` seconds. See :ref:`rate-limit` for more information. """

        return RateLimit(self, name, limit, per, debug)