For example: Lairon used Stealth Rock! Other user sent out Gardevoir! Gardevoir is hurt by rocks! Would Stealth Rock do more damage, seeing as Lairon is part rock, and the move itself is rock? Basically would it get STAB?
No, they don't. Nice try though :P