Fixed genrated filter rules for elements with CSS class.