SAP Message 5W050 - Function module & does not meet the workflow conventions

Diagnosis
The function modules for rule resolution have a standard interface thatmust be defined as follows:
Table parameters:
AC_CONTAINER with structure SWCONT
ACTOR_TAB with structure SWHACTOR
Other table parameters are not allowed.
Import parameters:
Only optional import parameters are allowed. The optional ACT_WEGIDparameter with reference field T778A-WEGID may be used for Org.Management function modules.

Procedure
Adapt the rule function module so that it meets these conventions.