Revert "rename Format to FormatLegality"

This reverts commit a953512058c1194b9dcf2b394aaf3d0d3b3fe8f4.