If you apply layer style effects to text or shapes and then rasterize the layer, only the text or shape content is rasterized. The layer effects stay separate and editable. Usually, this is a good thing, but if you then apply a filter, it only gets applied to the text or shape and not the effects. To rasterize and flatten the entire layer contents, create a new, empty layer below the layer with your effects and merge down (Ctrl+E on Windows/Command+E on Mac).
Compatibility: Photoshop 6 and higher