SAP Message 5P016 - Type of operation is different from rule type

Diagnosis
You have used a decision operation, a subroutine or a jump operation.However, the rule type does not match the operation.

Procedure
Read the documentation on the operation and enter the correct rule type.