Do not backup empty folders

I use Resilio Sync and can use the exclude *.rsls command to avoid the selective sync files but it still backups up empty folders.