No prototypes in Perl. They are not obeyed anyways. Just

```perl
sub getRules {
...
```