Rule editor improvements