Moved argdefs to common rule, added parsing of struct parameters (#9).