Put a few drops of plain white vinegar on the rock -- if it fizzes, that means it has
calcium carbonate in it and it's no good for most
FW tanks because it'll raise the
pH as the calcium dissolves. If it doesn't fizz, it's ok.
If it's not rated for aquariums, you need to boil the rocks or gravel for about 5 minutes first, to kill off anything that may be lurking in them. The advantage to getting aquarium gravel is that the manufacturer pretty much sanitized it before packaging it, saving you the boiling step.