Layered styles

I have two fills on a rectangle like this:
image
It looks like this:


I want to create a single style from the two fills so that that style can be applied from a library.

You can do that just how you would create a style normally.

Ah! Thank you!