Start here! This is where the fun begins. It first checks to be sure there
is a resource to be evaluated, and an AST (abstract syntax tree) which
admittedly in this case is a bit of a misnomer, because the AST is actually
placed as a list into the value field of a ParserList
It then checks if the first node in the AST is the same as the ResourceType
of the Resource, if so, it is removed.