Passes for report unused and redefined rules

Based on multiply error detection feature from #243.