Multiple layers/objects in compositor

I am trying to render a light bulb of sorts and I wanted to try and use the compositor to get the effects.

When I composite all my effects effect the whole group of objects instead of just the bulb. I tried putting the bulb into its own layer, but I can’t seem to get the compositor to put two different layers together.