Add ErrorCollector rule