Fixed an issue with custom rules and custom args

...where the rule was ignored if there were more than one custom
arguments; thanks to Shaun;
Fixed class not being registered for autoloading