brush up

- Fix variable naming
- Change second argument name of constructor
- Remove `getRulesCount `
- And other