fix diazo rules