Yep, if by putting your finger on the string at the back of the nut and the rattle stops then you have identified the culprit, do you hear it through the amp or only acoustically.