Fix for sidebar rules related with PHP 5.4 changes

http://pl1.php.net/empty