Changed the test case to just get all style rules matching the given
selector instead of searching for them