Rules for DNA target-site recognition by a lactococcal group II intron enable retargeting of the intron to specific DNA sequences.