Get matched CSS rules for an element