class PacketPolicy implements Serializable {

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PacketPolicy that = (PacketPolicy) o;
    return Objects.equals(getStatements(), that.getStatements())
        && Objects.equals(getName(), that.getName())
        && Objects.equals(getDefaultAction(), that.getDefaultAction());
  }

  public  PacketPolicy(String name, List<Statement> statements, Return defaultAction);

}