Parsed: 131835

  public function add_rules( $css_rules ) {
    if ( ! is_array( $css_rules ) ) {
      $css_rules = array( $css_rules );
    }

    foreach ( $css_rules as $rule ) {
      $selector = $rule->get_selector();
      if ( isset( $this->css_rules[ $selector ] ) ) {
        $this->css_rules[ $selector ]->add_declarations( $rule->get_declarations() );
        continue;
      }
      $this->css_rules[ $rule->get_selector() ] = $rule;
    }

    return $this;
  }