Replace ad-hoc code with RATE_LIMIT(...) macro

So that messages are limited to once per second