YSLD directly mirrors the structure of the SLD standard (using yaml rather
than xml). As such I do not feel comfortable adjusting the representation
too far from the original.
Can you experiment with YAML define to get the same affect? Rather than
repeat "condition 1"?
See
GeoServer 2.15-M0 has been released, see the blog for details:
http://blog.geoserver.org/2019/01/01/geoserver-2-15-m0-release/
This is a milestone release, offering a technology preview of new features,
and the opportunity to participate in the community testing of GeoServer
Java 11