Generate policy templates using domain knowledge to simplify learning tasks