I would parse the xls file externally and insert the data as facts (or globals if you wish). So you you can write rules like:
when
Person($country: country)
AvgSalary(country == $country, $salary: salary) //This fact comes from the xls.
then
...
end
Another option is to encapsulate the parsing of the xls file and provide a mechanism to extract a particular salary for a particular country. In this case, you can provide that mechanism using a global and write rules like this one:
global XLSParser; // your parser class
rule "..."
when
Person($country: country)
$salary: Double() from XLSParser.getAvgSalary($country)
then
...
end
Hope it helps,