error interpreting anf rules fixed.