rules formatted