Added options to failure analysis tool for splitting over learning rules or number of patterns.