Configure ruler (plus misc quant-scale improvements).