EC: peed up rule matches in some special cases by factor of 100 and more