The getRuleFileName() function returns the filename of the currently executing rule file. The syntax is as follows:
The <fullname> argument is optional. If it is omitted or passed as FALSE, only the base name of the rule filename is returned. Otherwise, the full name, including the path, is returned.