Cleaned up rules file