Check if matched rule exists