Validate user sudo rules before applying them