just soak the rocks in a 10-20% bleach/water water solution overnight, then rinse very thoroughly, as long as you got all the bleach off, the rocks will be 100% safe, make sure the rocks aren't soft or have calcium, this will alter your tank chemistry, granite is a good hard rock as well as quartz based stone
peace