I am assuming you are creating a new configuration object (not extended) using a specified grammar. Which grammar are you using, split on space or single line?
A custom grammar could be created to use a hardcoded value as the key, then take the first non-space characters as the first value. Another option is to create an artificial sequence for each line in the file and use that as the key. This should be easily modeled off of the "first line value" grammar.
This will provide you with the pair of values you are looking for. Unfortunately, I have not got around to coding the grammar so I can't help you on that just yet :)
Is /proc/sys/kernel/sem a single lined file with values? If so, you can use a grammar that has the "name" and "value 1" to be the first entry.
# cat /proc/sys/kernel/sem
250 32000 32 128
could have a condition such as:
proc/sys/kernel/sem//* should exist and
Value 1 as Integer >= 250