Extension function to add a Layer provided by the Style Extension to the Style.
The layer to be added