you said you took the rocks out and inspected it. and you still heard the clicking. so did you hear it when the rocks were out of the tank. or when they were returned to the aquarium. by chance is this a new tank, possibly the stand....i would possibly try iodine dipping the rock, if it is a shrimp of some sort, it will rush out of the rock when being dipped... i would go with last option if it comes down to it...