Document JSON representation of rules and declarations.