Fix rule parameters in api/rules2/show
Fix quality flaws