Yes they were both in the same building but that's the extent of it. They didn't interact with each other, Rayleigh's name wasn't said, his connection with Roger wasn't revealed at that time. I don't see how this would add anything to the idea Law should have known to look for Rayleigh to learn...