def build_year_rules(rule, expression)
      rule = rule.year(*expression.year) unless expression.year.blank?
      rule = rule.month_of_year(*expression.month) unless expression.month.blank?

      rule
    end
def build_year_rules(rule, expression)
      rule = rule.year(*expression.year) unless expression.year.blank?
      rule = rule.month_of_year(*expression.month) unless expression.month.blank?

      rule
    end
rubocop:enable Metrics/AbcSize
 rubocop:enable Metrics/CyclomaticComplexity
 rubocop:enable Metrics/PerceivedComplexity
 :nodoc: