flacc,
Does this happen with the window up or down or doesn't it matter?
On my car, the bottom of the window mechanism was touching the bottom of the door--or darn close to it. Going over a bump or rough pavement made a metal on metal contact. A window adjustment, and some cushion on the bottom of the door solved the issue.
Try isolating precisely when the rattle occurs and the conditions that may exist.