As per requested in this form access rules for entity registration i have created an entity_rules.api.php file which should help explain the use of this hook

while this isn't a patch file, this should just be placeable in the project

thanks

Lee

<?php

/**
  * @file
  * Hooks provided by the Entity Rules Module
  */
	
/**
  * entity_rules_info Hook
  *
  */
	
/**
  * This Hook provides information to the entity rules module about which form is used for editing
  *
  * This module works by adding different rules events to fieldable entities. These events are Create, update, Delete, Validate and Form Access.
  *	Create, Update and Delete don't need to be able to affect the form for these entities, since they are called after the form has been saved,
  * so act on the object in the database.
  *
  *	However for Validate and Form Access, The module needs to know which form to act on. This is an issue if your custom entity defines its UI Controller.
  *
  * To get around this, you can add this hook into your module and tell Entity Rules specficially which form is used for creating and editing this entity.
  *
  * This allows the module to act apon a live form.
  *
  */
	
/**
  * Function HOOK_entity_rules_info()
  *
  * @parameters: None
  *
  * @Return: an array containing the name of the form on which validate and form access rules can be used on.
  *
  * This example uses "MYMODULE" for the name of the module, and "my_entity" for the name of the entity you are defining.
  */
	
	
function MYMODULE_entity_rules_info() {
  $type_info['my_entity']['forms'] = array('my_entity_edit_form');
  return $type_info;
}