Checks for the proper placement of the left and right parenthesis characters. Helps to prevent run-time failures to improperly written rules, deftemplates, etc.