can just use ELSE instead of ELSEIF S_EDIT_RULE