Restore newline at the end of rules