debugging rulemachine