api for getting all variable names
names for rulesj