code: void setLoadedAscanrules(List<AbstractPlugin> ascanrules) {
  		if (ascanrules == null) {
  			throw new IllegalArgumentException("Parameter ascanrules must not be null.");
  		}
  
  		if (ascanrules.isEmpty()) {
  			loadedAscanrules = Collections.emptyList();
  			return;
  		}
  
  		for (AbstractPlugin ascanrule : ascanrules) {
  			ascanrule.setStatus(getStatus());
  		}
  		loadedAscanrules = Collections.unmodifiableList(new ArrayList<>(ascanrules));
  	}
docs: Sets the loaded active scan rules of the add-on, allowing to set the status of the active scan rules appropriately and to
  keep track of the active scan rules loaded so that they can be removed during uninstallation.
  <p>
  <strong>Note:</strong> Helper method to be used (only) by/during (un)installation process and loading of the add-on.
  Should be called when installing/loading the add-on, by setting the loaded active scan rules, and when uninstalling by
  setting an empty list. The method {@code setLoadedAscanrulesSet(boolean)} should also be called.
  
  @param ascanrules the active scan rules loaded, might be empty if none were actually loaded
  @throws IllegalArgumentException if {@code ascanrules} is {@code null}.
  @since 2.4.3
  @see #setLoadedAscanrulesSet(boolean)
  @see AbstractPlugin#setStatus(Status)