Theoretical study of image charge acceleration of highly charged ions in front of a metal surface