remove completions except at-rule and functions