Generalized Maxwell Garnett equations for rough surfaces