No, cassettes should not rattle or have play when installed on the correct freehub body. Shimano provides a 1mm spacer with their 10-speed cassettes that fits under the largest cog when used on an 8/9/10-speed freehub. Perhaps one of these would solve your problem and any bike shop should have them.