Merge "Extend to check indirect allow rules and conditional rules."