Rule script formatting.