Is it the interior door panel or something actually inside the door?
While playing something that causes the rattle, try pressing on the door panel to see if it stops. Perhaps one of the plastic posts broke? (I know I broke one of mine when I put in new speakers.) Or is it the speaker itself rattling?
Either way, you probably need to pull the door apart to fix it.