Performance improvement: implement direct reduction of rule #7.