public static ContractValidationRule from(final EVM evm) {
    return from(evm.getEvmVersion(), evm.getEvmConfiguration());
  }
Fluent MaxCodeSizeRule from the EVM it is working with.

@param evm The evm to get the size rules from.
@return the contract validation rule
evm/src/main/java/org/hyperledger/besu/evm/contractvalidation/MaxCodeSizeRule.java