Improved rule display and fixed creation.