I'd never reuse sand but you can definitely quarantine the fish or take them to the store for credit. If the rock looks fine I'd use it but you could boil it, dry it, or give it an acid bath. Chances are if it's a ugly neglected tank it would need a new cycle before it's ready for fish anyway. And probably a couple new pieces of equipment, all the ones I ever see are with cheap lights and a canister filter