protected function _areModelIdsSortedByRule(array $modelIds) {
        $rules = $this->_getRules();

        foreach ($modelIds as $modelId) {
            $ruleNumber = array_search($modelId, $rules);
            if ($ruleNumber !== false) {
                return $rules[$ruleNumber] === $modelIds[$ruleNumber];
            }
        }
    }