If you follow the thread to the end, you'll see that the guy renamed some variables, resubmitted and got accepted.
PhoneGap is open source. There is no "signature" that they can use to know that you incorporated code from it. They would have to disavow their own APIs in order to stop people from using it.
It appears that Apple is rejecting iPhone apps built with PhoneGap.
http://groups.google.com/group/phonegap/browse_thread/thread...