<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_stmt(stmt, arg_rules):
 """Use by plugins to add grammar for an extension statement."""

    (arg, rules) = arg_rules
    stmt_map[stmt] = (arg, rules)