what does it mean when someone rubs your thigh?
It will often be a strong signal that he finds you attractive. If he does then he might be touching you on the thigh to see how you'll react or to show you that he doesn't want to just be friends. If he does find you attractive he'll likely show numerous other signals in his body language.