Improved Rule Editor functionality