Updated generation rules for Release version.