Re-Formatted Rule Code