Particle Acceleration Controlled by Ambient Density in the Southwestern Rim of RCW 86