When configuring Compliance Baseline Rule based on ‘RAM’ capacity equals to 8GB, it might consider 16GB/32GB machines as well.
This is happening due to machines are having N number of 8GB slots. When selecting filter ‘RAM’ and type ‘Capacity (MB)’, the rule matches machines which are having individual slot capacity not the total system RAM, hence result is appearing unexpected.
If you want to configure baseline rule against the overall system RAM capacity, please choose the filter as ‘System Details’ and choose type ‘Physical Memory (MB)’ and define the rule.
To configure baseline rule, refer this article.