Hi!
In case if you are still not able to get the solution, you can use try using a prefix-list as follows:
ip prefix-list DENY10172 seq 5 permit 10.244.244.20/30
ip prefix-list DENY10172 seq 10 deny 10.0.0.0/8
ip prefix-list DENY10172 seq 15 deny 172.31.30.20/32
ip prefix-list DENY10172 seq 20 permit 0.0.0.0/0 le 32
interface Ethernet1/3
ip distribute-list eigrp 1 prefix-list DENY10172 out
Or you can call prefix-list into a route-map and then call route-map in distribute list as you like.
Let me know if this works, Thanks,
Nandan Mathure