Added a simple rules system, compressed