As I understand it, this doesn’t mean rap lyrics can’t ever be used as evidence. It’s still up to a judge’s discretion, this law just provides guidance on how judges should make that call.
Such that if the lyrics aren’t really relevant to the case and are only the sort of exaggerated bluster common to the genre then they will be deemed more likely to just prejudice the jury and can be excluded from evidence.