diff --git a/modules/comment.rules.inc b/modules/comment.rules.inc
index 770be7e..ae55e6f 100644
--- a/modules/comment.rules.inc
+++ b/modules/comment.rules.inc
@@ -66,15 +66,17 @@ function rules_comment_integration_access($type, $name) {
 /**
  * Event handler support comment bundle event settings.
  */
-class RulesCommentEventHandler extends RulesEventHandlerEntityBundle {
-
-  /**
-   * Returns the label to use for the bundle property.
-   *
-   * @return string
-   */
-  protected function getBundlePropertyLabel() {
-    return t('type');
+if (class_exists('RulesEventHandlerEntityBundle')) {
+  class RulesCommentEventHandler extends RulesEventHandlerEntityBundle {
+  
+    /**
+     * Returns the label to use for the bundle property.
+     *
+     * @return string
+     */
+    protected function getBundlePropertyLabel() {
+      return t('type');
+    }
   }
 }
 
diff --git a/modules/node.rules.inc b/modules/node.rules.inc
index 2629840..8a7f147 100644
--- a/modules/node.rules.inc
+++ b/modules/node.rules.inc
@@ -144,15 +144,17 @@ function rules_node_admin_access() {
 /**
  * Event handler support node bundle event settings.
  */
-class RulesNodeEventHandler extends RulesEventHandlerEntityBundle {
-
-  /**
-   * Returns the label to use for the bundle property.
-   *
-   * @return string
-   */
-  protected function getBundlePropertyLabel() {
-    return t('type');
+if (class_exists('RulesEventHandlerEntityBundle')) {
+  class RulesNodeEventHandler extends RulesEventHandlerEntityBundle {
+  
+    /**
+     * Returns the label to use for the bundle property.
+     *
+     * @return string
+     */
+    protected function getBundlePropertyLabel() {
+      return t('type');
+    }
   }
 }
 
diff --git a/modules/taxonomy.rules.inc b/modules/taxonomy.rules.inc
index a3caf1b..6bbef1c 100644
--- a/modules/taxonomy.rules.inc
+++ b/modules/taxonomy.rules.inc
@@ -99,15 +99,17 @@ function rules_taxonomy_vocabulary_integration_access($type, $name) {
 /**
  * Event handler support taxonomy bundle event settings.
  */
-class RulesTaxonomyEventHandler extends RulesEventHandlerEntityBundle {
-
-  /**
-   * Returns the label to use for the bundle property.
-   *
-   * @return string
-   */
-  protected function getBundlePropertyLabel() {
-    return t('vocabulary');
+if (class_exists('RulesEventHandlerEntityBundle')) {
+  class RulesTaxonomyEventHandler extends RulesEventHandlerEntityBundle {
+  
+    /**
+     * Returns the label to use for the bundle property.
+     *
+     * @return string
+     */
+    protected function getBundlePropertyLabel() {
+      return t('vocabulary');
+    }
   }
 }
 
