Added attackRulesKB.py, knowledge.py modifications

Added rules and a TODO in attackRulesKB.py
Added a function and some variables in knowledge.py.