Feature/add interaction matching answer actions

Corresponding to the matching answer actions. 

Note that most of this commit is a refactoring of the interaction validation.