code: @Override
      public Rule<SelectorPart> replaceAll(List<SelectorPart> replacement)
      {
  	    for (SelectorPart item : replacement)
  	        checkPseudoElement(item);
          return super.replaceAll(replacement);
      }
docs: the pseudo element if defined (only a single pseudo element may be used in the selector)