Description of problem:
You cannot add a filter rule on the same RPM name that has different architectures. In the reproduction step, I'm using the "rest" rpm from rhel7 server because it has 2 different architecture.
Version-Release number of selected component (if applicable):
6.6.0 snap 12
Steps to Reproduce:
1. Sync rhel7 server RPM
2. Create a CV and add the above repo
3. Yum Content -> filter
4. Create a Package exclusion filter
5. Add rule: name = rest, architecture = x86_64, version = all version
6. Hit save
7. Add another rule: name = rest, architecture = i686, version = all version
8. Hit save
Validation failed: This package filter rule already exists.
Rule added successfully
Rhel7 server rpm has firefox packages with 2 types of rest dependencies. One "rest" has x86_64 dependency and the other "rest" has "i686" dependency.