Smoothing and priming the walls before applying the frames avoids the drips and blobs that often accompany painting around the molding when it's already in place.
Using a random-orbit sander and 150-grit sandpaper, smooth the walls in the area under the existing chair rail.
Need More Info? Ask a question on Trim message board