Rules are mostly copied from the RKL