added function to add numbers
fixed rules and permissions module