CR feedback: refactor guard interpreter logic out of Resource into Conditional