I know its upsetting to you. My guess is this guy doesn't really get it. I think a lot of people abuse the "migraine exuse" some of who really don't get them or get bad ones, and because of it the rest of us suffer.
Probably, he forgot about it and is worried more about his classroom control. I've been a student and a teacher and I can be a little more compassionate than some others, but I've known some teachers who get a little too used to being the only one talking and aren't even willing to apologize when they've made a mistake.
I would talk to him again and for your own sake as a student, don't get angry, but just clear up with him what circumstances you might need. Try to think of it from his perspective. It's OK to vent here but don't do anything that will get you a bad rep at school. You want him to think of you as the ultra-serious student who drags yourself to class even when in pain, not as the bi***y hypocondriac. He is grading your exams.
Say something like:
I know that must of looked rude the other day. I came to class with a migraine because I really hate missing class. The actual class time is the most valuable part of the course, and I can't get it back if I'm out sick. I just get these too often to miss every time. I don't know how much you know about migraine, but its a disease which increases blood flow to the brain, causing headaches and often other symptoms like nausea, vomiting, numbness, loss of sight. Sensory stimulation, especially light aggravates it. It really helps me hear the lecture if I can "shut down" all the other senses as much as possible. Otherwise its just jackhammers in my head. That's why closing my eyes and putting my head down helped me listen.
Now that everyone in the class is aware of my situation because of Friday, would it be OK if I laid my head down if I need to? Also, if I run from the room, its because I'm going to be sick, so don't take offense.
Remember, even if he was rude and you were hurting and upset when he confronted you, you need him on your side.