Changed action manager rules and added Heuristic Algorithm. Needed Testing!