Improve atom quality calculation

By avoiding bytes 0x00 and 0xFF at the beginning of the atom a 8x speedup was observed with a very large set of rules.