rut validator core code