Error production rule calls optimized

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
unified use of rule_with_action_routine

Probably now this is not more efficient, but in the end it would help
with further unifying LL and LR code

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>