clip rule prefixes to prevent invalid targets