Stop to rack your brain, start using process-oriented decision tables!
This tool is about a method called "process-oriented decision tables".
These are decision tables but different from "normal" decision tables.
They fix the flaws of traditional decision tables making it a joy to work with.
But they keep all benefits of traditional decision tables. First of all they present the
logic in a very dense form.
1. Explore all possible combinations of conditions and actions by question-and-answer.
2. Have a compact one-sheet-view on complex logic.
...
A library for creating decision tables written in Java.
...More about decision tables and how this library works you'll find in the help files for the project JDecisiontable (which is an application build around this library):
http://sourceforge.net/projects/jdecisiontable => Files => Help
This library can give you decision table and test specifications as strings in json and csv format. The project JDecisiontable take this strings and save them as text files. Thus the example files for this application may be useful for you:
http://sourceforge.net/projects/jdecisiontable => Files => Examples