Improved the function `cperl-add-style' so that it can validate new styles