When you create a new package in the BRMS by importing an existing DRL file then any functions in the DRL file do not get added to the list of functions for the newly created package. Instead, the functions appear along with the import statements in the "header" text box found when you click on "Edit Package configuration" for the new package!
Put the example rules below into a .drl file and import it into the BRMS by creating a new package and choosng the option to load it from a .drl file.
Click on the newly created package com.acme.example in the package browser. Click on the Functions tab for the package. No functions are present.
Click on com.acme.example in the package browser and then select "Edit Package configuration". In the Header text box you should see the two functions defined in the example DRL file given below.
function int firstFunction ()
function int secondFunction ()
rule "Rule 1"
eval(firstFunction() == 1)
rule "Rule 2"
eval(secondFunction() == 2)