I would start by ignoring all the girls.
I would bring treats to the flock and hopefully he will meet you at the door again. Offer all the treats to HIM to doll out to the girls.
I'm sure your new behavior doing something that the pullets didn't like and he found threatening was the trigger. You need to work to reassure him you are not a threat to his girls or to his leadership of them and that you don't want to hurt him or them.
If you think he is going to flog you again, always enter the pen with sturdy jeans and long sleeves and keep your eye on him. If he flogs you, just stand there and look at him CALMLY. Take a step towards him to let him know that you are not intimidated and won't back down. Quite the contrary, if he flogs you it will make you walk closer to him. He doesn't like that.
If you start now and are consistent, he should be fine. It is very normal for a rooster to be aggressive. He has to be to protect his flock. If you are not a threat to him or his flock, he should not aim his aggression towards you.
But always keep in mind that he is the leader of the flock, not you. He is with them 24/7, you aren't.