add more sophisticated rpsec language