Added rules for maing dependencies