Add test_pa_rules.c test file
pa_rules tested and debugged - 99 percent