add typing rules
Merge remote-tracking branch 'origin/master'