Add api rules
Add missing params
Bugfix, add missing &