Sample package.xml:
<types>
<members>Account.*</members>
<name>SharingCriteriaRule</name>
</types>
<types>
<members>Account.*</members>
<name>SharingOwnerRule</name>
</types>
<types>
<members>Account.*</members>
<name>SharingCriteriaRule</name>
</types>
<types>
<members>Account.*</members>
<name>SharingOwnerRule</name>
</types>