Clean rule formatting