Basic conversion to rules done