In my own industries' jargon - "that's not a bug, it's a feature."
The rattle is there on purpose - the weights freely slide forwards and backwards a small amount. During cycling, as the bolt finishes moving forward and strikes the barrel, it will have a tendency to want to bounce backwards off the barrel momentarily (physics being what it is and all). During full auto fire (or rapid semi-auto fire), this bouncing can cause stoppages if it overcomes the force of the recoil spring. The sliding weights help to counteract this - about the time the bolt hits the barrel and begins to rebound, the sliding weights will reach the forward-most point in their travel inside the buffer, slamming into the front portion of the buffer. That in turn causes the buffer to transfer a little extra "oomph" forward into the bolt, usually nullifying the bounce-back.
Hope that helps,
-bob