More CSS rule compression and improvement on get_filter_string method