* Fixed several reference count leaks in the dimming rules