add typedef rule.
Merge pull request #41 from daptiv/add-typedef-rule

add typedef rule.