[1030889] Adjusted getRuleViewRuleEditor and refactor edit selector test