		OR = {
			AND = {
			$IfCulGroup
				culture_group = __culGroup__
			$EndIf
			$IfCul
				culture = __culture__
			$EndIf
			$IfRelGroup
				religion_group = __relGroup__
			$EndIf
			$IfRel
				OR = {
					religion = __religion__
					is_heresy_of = __religion__
				}
			$EndIf
			
			$IfIsDuchy
				primary_title = { title = __county__ }
				num_of_count_titles = __reqCount__
			$EndIf
			$IfIsKingdom
				primary_title = { title = __duchy__ }
				num_of_duke_titles = __reqDuchy__
			$EndIf
			$IfIsEmpire
				primary_title = { title = __kingdom__ }
				num_of_king_titles = __reqKing__
			$EndIf
			}
			__title__ = {
				is_titular = no
			}
		}