refine parser & rule report mechanism