Added function for getting style rules by selector