[#346] Fixed some bugs, made fact resolving more robust by considering fact types
[#346] Fixed some bugs, made fact resolving more robust by considering fact types

Cyberjusticelab/JusticeAI,Cyberjusticelab/JusticeAI,Cyberjusticelab/JusticeAI,Cyberjusticelab/JusticeAI