Reinstate ensureCursorVisible() without the special case for the rule list