Rule editor implementation