Row 160 ‘of which: collectively measured allowances’ of template F 12.01 of Annexes III and IV to Regulation (EU) No 680/2014 (ITS on Supervisory Reporting) and the row 170 ‘of which: individually measured allowances’ of template F 12.01 are related to all exposures in stage 1.
As a consequence the validation rule v5054_m is correct since the sum of row 160 and row 170 of template F 12.01 is equal to row 010.
The validation rule v5554_h cannot supersede v5054_m since it allows another check: in particular, it verifies that the sum of row 020 ‘debt securities’ and row 080 ‘loans and advances’ is equal to row 010.
Also the validation rules v5055_m and v5056_h are correct.