If i have understood correctly, yo have rattle between nut and 8th fret, when you play at this 8th fret, right?
if yes, you have to adjust your trussrod to give your neck some relief too.
the dead part of the string is vibrating, like a sympathetic string, so if it's to close to the fretboard, it can hurt the frets.