finish rule 6 & 7