hey, yes, rejection is terrible. it's happened to me often regarding funding, and you'd think you get used to it, but you don't. it hurts every time. i've heard of postdocs and senior lecturers who are devasted when they get any kind of rejection, myself, everytime i want to curl up in a ball, quit, i feel terrible for a while.
what i'm saying is that it is totally normal to feel really bad about such rejections. they are never fair. there is nothing you can do about it.
be angry! be upset. let it all out. and then get over it. put the anger aside, calmly consider your options, and go "onwards and upwards"! wherever that might be. (it will be hard to reach the calm if you don't really allow yourself the anger and upset first)