Add guard support for rpsec