Catalyzes the O-methylation of the hydroxyl group located on C-2 of the first rhamnosyl residue linked to the phenolic group of glycosylated phenolphthiocerol dimycocerosates (PGL) and p-hydroxybenzoic acid derivatives (p-HBAD). Belongs to the rhamnosyl O-methyltransferase family.