Refactoring _sliceFromRule