Rule editor functional