Yes exactly like that .. There´s some great info around this thread Also try out Jeremy Birn´s 3DRender.com excellent resource on rendering in passes. (and remember, there´s a search feature on the forum, use it since I found lots of threads with rendering and compositing in layers tips)