i couldnt help but notice that we're in the same boat! my rooster attacks everybody but me. i often find that if he doesnt recignise me then he attacks me, so i have some tricks to stop him.
1. let him do it. i often just stand still and let him attack me. (i obviously have trousers and shoes that he cant hurt me through) after a while he will realise i mean no threat and will walk off.
2. if that doesnt work, i hang a coat on a broom handle and let him attack that instead. he will realise its no threat to him and will leave me alone.
3. if those dont work, i give him some sort of treat, something he doesnt get everyday that will destract him while i go collect the eggs.
4. if none of these work for you, i dont know what will. just remember, dont fight him back. violence will only make him hate you more and possibly attack other people too.