Genera automaticamente regole booleane.