For your live rock you should put it in a bucket with air and flow. Do water changes often, scrubbing the rock to remove dead tissue matter prior to water change. Check the amonia often. Once all the decaying matter is removed the amonia will have spiked and began to decline to a normal level. Once to zero, put it in your tank.
Cured LR should be treated the same. The process will be faster, but none the less, should still be done. Anytime the rock is exposed to air, tissue contained on it will die off, and the decay will cause the amonia spike.
Also, prior to the initial scrubbing, put the LR in a container with an SG up in the 1.035-1.040 range for a couple of minutes. Any and all living creatures should depart the rock into the water. This gives you a chance to be selective as to what you introduce into your tank.