format rules