Created to format some rules