Rules content unpublish in 30 days
Instead use Auto Expire module, Using this module you can set the node to unpublish after 30 days.



For your case set zero in purge field, otherwise it will automatically delete from database.


  This module allows site administrators to set expiration times for
  content types.
  
  End users creating content that has auto expiry set cannot control the
  expiry time. They could be allowed to renew the content for one or
  more cycles.