bru_used_vars function

Extract basic variable names from expression