added toBeanstalkd block and fixed the ParseInt method in utils/rule.go