Simplified nested rules and expanded to test all possible selectors

BUG=

Review URL: https://chromiumcodereview.appspot.com//15303012