Range operator, get sublist from index i to j
Translates to x[i:j]
x[i:j]
RulesList<T> range(int i, int j);