Extension function to add a Layer provided by the Style Plugin to the Style.
the layer id that the current layer is added above
The layer to be added