You could shorten this up:

```ruby
filter.erratum_rules.any?{ |rule| rule.start_date || rule.end_date || !rule.types.blank? }
```