Extract selector combinations using a separate visitor