An Early Action rule is defined by a method with the @EarlyAction annotation:
This annotation has only one (optional) parameter
An Early Action, unlike an Action, it is only invoked once, at the very beginning of the transaction processing.
Early actions are subject to the same restrictions as actions when inserting, updating and deleting persistent objects -- see the reference for Actions for details.
The name of the method does not matter, but the method must be