make _rs a "special" static local variable

Do some refactoring of the special static local handling, and then add `_rs` to the list.