Fixed problem with matching at-rule end in rule context (#1047)
Fixed problem with matching at-rule end in rule context (#1047)

* Fixed problem with matching at-rule end in rule context

* Added better edge case covering

pascalduez/postcss,postcss/postcss,jonathantneal/postcss,bezoerb/postcss,Semigradsky/postcss,postcss/postcss