Fixes for ThemeRule and Worker for php-resque