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