added debug info
made rules public (so symbols visible)