If you want to hide a rule you could try the TileLoaderThemeHook
(see the MapsforgeActivity).
Check for your key / value tag and the needed style and could return
true to skip it.
But you just have to customize your own theme instead of reverse
engineering with code.