AC Milan and Inter Milan have agreed a naming rights deal with Italian insurance giant Generali for the new San Siro.