All revolvers allow unfired cartridges to rattle in the chambers.
An old timer trick to check for a loaded revolver was to give it a shake and listen for the rattling of the live rounds.
MOST modern revolvers will have some odd rattles from the action.
In S&W revolvers it's the safety bar rattling.
A dab of grease on the side plate where the bar slides usually stops it.
In Ruger, Taurus, and Dan Wesson revolvers it's the transfer bar rattling, and this is entirely normal.
You cannot stop the transfer bar from rattling, attempting to do so will ruin the part and make the revolver UNSAFE.
In addition, many Ruger revolvers have a non-rotating ejector rod.
This is notorious for rattling, and often gets questioned by new Ruger owners.
ALL modern revolvers, with the sole exception of the Colt Python and older Colt's of the same action type, WILL have cylinders that have some side to side play.
This too is completely normal, and is necessary for the gun to work properly.
In short, it sounds like you have a new revolver, and you're not used to hearing odd rattling sounds coming from it.