Why am I getting this error when using CiviRules
This very likely has the same root cause as civirules issue #45.  You may want to install CiviRules from master, or apply the change linked to above, or wait for version 1.2.