The rattling sound MAY be coming from the gas regulator that connects the two lines from the tanks to the single line that goes into the trailer. If so, it probably needs to be replaced (they DO wear out). I know you can find replacements at Camping World, and they aren't too expensive (less than $50, I seem to recall).
I agree with Jack. To make sure, take off the propane tanks cover, if any. Have somebody stand by the tanks and listen when the noise is occurring. The regulator is the round metal device that has a hose going to each tank. If the noise is coming from it you may need a replacement.
Before you go off and buy one, check one more thing. If the regulator has a lever to select a tank, make sure that it is moved fully to one side or another. If the lever is not on a detent, the noise may be from the regulator trying to go back and forth between tanks.
If you buy a new regulator, I suggest you get one with automatic switchover. These regulators allow you to select a tank to start with. If the tank you selected runs out, they automatically switch to the other tank and show an indication that the original tank is empty. This will keep the stove, heater, etc, from shutting down at an inopportune moment. Once the selected tank is empty, you can flip the regulator lever to the other tank, disconnect the emty tank, and get it filled.
As a matter of fact, the noise may be due to a tank being empty and the indicator on the regulator bouncing up and down. Check this also.