Moved struct definition to common rule.