Combined Code

Combined two versions of the code that improve the rule based system and
add Hell Mode