fix grouping regex to allow whitespace between group name and declaration
fix override with same specificity
add test for selector grouping
create a test from the script main code