Switch to css4 style :not instead of !. Also added :matches support
which can be used for grouping. Unlike css4, it supports nesting.