First install policycoreutils-python package;
yum install policycoreutils-python
then run following commands;
audit2why < /var/log/audit/audit.log
cat /var/log/audit/audit.log | audit2allow -M local
To make this policy package active, execute;
semodule -i local.pp