I don't know if it will completely stop the rattle as I don't have a Subwoofer installed but it should make a difference because it certainly reduced the rattles in my car.
Also your car's door lock and rods might be loose which cause a rattle ,make sure they are tight and place some foam between the door and the rods that should also help.