Regex array from rule keywords