I don't think it's the autofocus mechanism. The only thing that rattles is the little metal insert for the headphone jack. If you take of the back cover and shake it, you'll see what I mean.
+1 to this. That's it. Thank you! I wouldn't worry about this
