I want to check that rules was loaded (e.g. ruleset in files are the same as in the kernel). I want to do it without modifying kernel rules. I can't compare files and nft list ruleset
due to ordering, comments, formatting and so on.
Is there a way to see difference? Or, may be, there is a way to make nft to 'normalize' rules to match the format kernel rules are shown?