public static ContractValidationRule from(
      final EvmSpecVersion evmspec, final EvmConfiguration evmConfiguration) {
    return new MaxCodeSizeRule(
        evmConfiguration.maxCodeSizeOverride().orElse(evmspec.getMaxCodeSize()));
  }
Fluent MaxCodeSizeRule from the EVM it is working with.

@param evmspec The evm spec version to get the size rules from.
@param evmConfiguration The evm configuration, including overrides
@return the contract validation rule
evm/src/main/java/org/hyperledger/besu/evm/contractvalidation/MaxCodeSizeRule.java