Rapper charged over violent attack