The four-time world champion Ronnie O'Sullivan announced that he was returning to competitive snooker after growing bored.