Support filter of rules. Support nested rules at any depth.
Add basic style that confirms to the next style format