There are clips and springs to hold the pads in position and preventing them from rattling. Ensure they are not missing. The other thing that can cause rattling would be the calipers. Ensure the slider bolts are smooth and do not have excessive side play.