I *think* I hear rattling when I tap near the top, but only when I tap. If I try to shake the phone, I don't hear anything.
It might be the camera, I think I remember on some other forum someone was complaining about something rattling in their iPhone 4S and they determined that it was something in the camera and that was normal.
Unless something on your phone is not working, I wouldn't be too worried about it.