<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://namespaces.plone.org/diazo">
    <copy theme="//*[@id='portlets']" content="//*[@class='portlet']"/>
    <drop theme="//*[@id='portlet-wrapper']" if-content="not(//*[@class='portlet'])"/>
</rules>
