Playing one hole this afternoon. My opponent called the cue ball frozen to the rail. I shot at a ball, striking it in such a way that the cue left the rail and came back to same rail. The object ball did not go to another rail. Opponent called foul, for the object ball not getting a rail, plus since he called the cue froze. I told him that since the cue left the rail, contacted an object ball and returned to the rail that this constitutes a good hit. Thoughts please.