minor (PatternLibrary) : added extensions for pattern Iterator