added a policy parser and simulator