Dont the relays themselves have rate limiting...etc What do you want fail2ban to do exactly?
Discussion
In this particular case they're just spamming the webpage. I'm not sure if their goal is spamming the website, the relay, or the invoices required to check for paid staus...so I guess just stop traffic that is loading a page 3 or 4 times a second, leaving the ones using it "normally"