Add initial test for rule and selector extension