Minor refactor on _sliceFromRule