The getRuleFileName() function returns the filename of the currently executing rule file as an argument.

Usage:

getRuleFileName ([<fullname>]);

where <fullname> is a string containing the complete path-qualified filename.