It may be that using the explicit numbers here actually makes the rules more readable than using a named constant. OTOH some form of documentation as to why certain numbers were chosen in the source code would be useful.